﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_MasterPage.master" AutoEventWireup="true" CodeFile="ThemSanPham.aspx.cs" Inherits="Admin_ThemSanPham" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <div id="allthemsanpham">
        <h3 style="color:Red; font-size:large;">Thêm sản phẩm</h3>
         <div id="contentthemsanpham" style="border:1px solid black;"> 
            
            <table border="1" id="table_name" visible="false" cellspacing="0" >
                   
                    
                    <tr>
                        <td style="width:100px; color:black;">
                            Hình Ảnh:
                        </td>
                        <td colspan="3">
                            <div id="fileUploadarea">
                                <asp:FileUpload ID="FileUpload1" runat="server"/><br />
                            </div>
                            &nbsp;
                            <input style="display: block;" id="btnAddMoreImages" type="button" value="Thêm hình" onclick="AddMoreImages();" />

                        </td>
                    </tr>
                    <!-- End tr hinhanh-->

                    <tr>
                        <td style=" color:black;">
                            Tên sản phẩm:
                        </td>
                        <td colspan="3">
                            <asp:TextBox ID="txt_tensp" runat="server" Width="332px"></asp:TextBox>
                        </td>
                    </tr>
                    <!-- End tr tensanpham-->
                    <tr>
                        <td style=" color:black;">
                            Loại sản phẩm:
                        </td>

                        <td colspan="3">
                            <asp:DropDownList ID="ddl_loaisp" runat="server" Width="127px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <!-- End tr maloaisanpham-->
                    <tr>
                    <td style="width:30%;">CPU</td>
                    <td>
                        <asp:TextBox ID="txt_CPU" runat="server" Width="228px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">RAM</td>
                    <td>
                        <asp:TextBox ID="txt_ram" runat="server" Width="228px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">HDD</td>
                    <td>
                        <asp:TextBox ID="txt_hdd" runat="server" Width="233px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">Card màn hình</td>
                    <td>
                        <asp:TextBox ID="txt_cardmanhinh" runat="server" Width="231px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">CD_DVD</td>
                    <td>
                        <asp:TextBox ID="txt_CD" runat="server" Width="236px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">Màn hình</td>
                    <td>
                        <asp:TextBox ID="txt_manhinh" runat="server" Width="237px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">Mạng</td>
                    <td>
                        <asp:TextBox ID="txt_mang" runat="server" Width="236px"></asp:TextBox>
            
                    </td>
                    </tr>
             <tr>
                    <td style="width:30%;">Tích hợp</td>
                    <td>
                        <asp:TextBox ID="txt_tichhop" runat="server" Width="237px"></asp:TextBox>
            
                    </td>
                    </tr>
             <tr>
                    <td style="width:30%;">Trọng lượng</td>
                    <td>
                        <asp:TextBox ID="txt_trongluong" runat="server" Width="235px"></asp:TextBox>
            
                    </td></tr>
             <tr>
                    <td style="width:30%;">Pin</td>
                    <td>
                        <asp:TextBox ID="txt_pin" runat="server" Width="240px"></asp:TextBox>
            
                    </td>
                    </tr>

             <tr>
                    <td style="width:30%;">Hệ điều hành</td>
                    <td>
                        <asp:TextBox ID="txt_hdh" runat="server" Width="240px"></asp:TextBox>
            
                    </td>
                </tr>

                 <tr>
                    <td style="width:30%;">Thời gian bảo hành</td>
                    <td>
                        <asp:TextBox ID="txt_tgia_bhanh" runat="server" Width="242px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">Khuyến mãi</td>
                    <td>
                        <asp:TextBox ID="txt_khuyenmai" runat="server" Width="244px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">Giá</td>
                    <td>
                        <asp:TextBox ID="txt_gia" runat="server" Width="249px"></asp:TextBox>
            
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%;">Nhà sản xuất</td>
                    <td>
                        <asp:DropDownList ID="ddl_nhasx" runat="server" Width="229px">
                        </asp:DropDownList>
            
                    </td>
                </tr> 
                <tr>
                
                    <tr>
                        <td style="text-align:center; margin-bottom:50px;">
                            <asp:Button CssClass="button" ID="ButtonUpload" runat="server" OnClick="btn_Insert_Click" Text="Thêm sản phẩm"  Height="25px" Width="135px"/>
                        </td>
                    </tr>

                    <!-- End tr button them san pham-->
                </table>
        </div>
    </div>
</asp:Content>

